package de.gee.erep.client.calls.rpc;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import de.gee.erep.shared.entities.Country;

/**
 * @author Matthew Gee
 * created: 13.03.2011
 */
@RemoteServiceRelativePath("init")
public interface Initialization extends RemoteService {
	/**
	 * 
	 * @return {@link ArrayList} of countries
	 */
	ArrayList<Country> getCountries();
	/**
	 * @param start s
	 * @param count c
	 * @return {@link ArrayList} of countries
	 */
	ArrayList<Country> getCountries(int start, int count);
	/**
	 * 
	 * @return {@link ArrayList} of countries
	 */
	ArrayList<Country> getUpdatedCountries();
	/**
	 * @param start s
	 * @param count c
	 * @return {@link ArrayList} of countries
	 */
	ArrayList<Country> getUpdatedCountries(int start, int count);	
}
